package com.hanter.android.radui.mvp;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.lifecycle.LifecycleObserver;

public interface BasePresenter<T extends BaseView> extends LifecycleObserver {

    void attachView(@NonNull T view);

    void detachView();

    @Nullable
    T getView();

    boolean isViewAttached();

    boolean isViewDetached();
}
